package com.sumover.DAO;

import com.sumover.POJO.Article;
import com.sumover.POJO.ArticleComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleCommentMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(ArticleComment record);

    ArticleComment selectByPrimaryKey(Integer cid);

    List<ArticleComment> selectAll();

    int updateByPrimaryKey(ArticleComment record);

    List<ArticleComment> getAllComments(@Param("article")Article article);
}